package com.hsnn.medstgmini.settlement.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @category 结算关系实体类
 * @author 韩守松
 * @date 2015年7月21日
 */
@Entity
@Table(name = "set_relationship")
public class SetRelationship implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8020273717493479654L;
	private String setRelationshipId;// 结算关系id
	private String orgId;// 账户id(机构id)
	private String fatherOrgId;// 上级机构账户id
	private String orgName;// 机构名称
	private String orgType;// 机构类型
	private String fatherOrgName;// 上级机构名称
	private String fatherOrgType;// 上级机构类型
	private Date updDatetime;// 更新时间
	private String updUser;// 更新人
	
	
	@Id
	@Column(name="set_relationship_id")
	public String getSetRelationshipId() {
		return setRelationshipId;
	}
	public void setSetRelationshipId(String setRelationshipId) {
		this.setRelationshipId = setRelationshipId;
	}
	
	@Column(name="org_id")
	public String getOrgId() {
		return orgId;
	}
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	
	@Column(name="father_org_id")
	public String getFatherOrgId() {
		return fatherOrgId;
	}
	public void setFatherOrgId(String fatherOrgId) {
		this.fatherOrgId = fatherOrgId;
	}
	@Column(name="org_name")
	public String getOrgName() {
		return orgName;
	}
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	@Column(name="org_type")
	public String getOrgType() {
		return orgType;
	}
	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	
	@Column(name="father_org_name")
	public String getFatherOrgName() {
		return fatherOrgName;
	}
	public void setFatherOrgName(String fatherOrgName) {
		this.fatherOrgName = fatherOrgName;
	}
	@Column(name="father_org_type")
	public String getFatherOrgType() {
		return fatherOrgType;
	}
	public void setFatherOrgType(String fatherOrgType) {
		this.fatherOrgType = fatherOrgType;
	}
	
	@Column(name="upd_user")
	public String getUpdUser() {
		return updUser;
	}
	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}
	
	@Column(name="upd_datetime")
	public Date getUpdDatetime() {
		return updDatetime;
	}
	public void setUpdDatetime(Date updDatetime) {
		this.updDatetime = updDatetime;
	}
	
	
	
	

}